.leaflet-container .tooltip {
    z-index: 999;
}

/* infobar */

.leaflet-infobar {
    position: absolute;
    height: 100%; /* Added by Facu */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    z-index: 950;
}

    .leaflet-infobar .generalinfo {
        height: 100%;
    }

    .leaflet-infobar h5 {
        margin-left: 10px;
        display: inline;
    }

    .leaflet-infobar select {
        width: 100%;
    }

    .leaflet-infobar .box .box-title {
        padding: 7px 0 10px 0px;
        border-bottom: 1px solid #ddd;
    }

    .leaflet-infobar .rightcontrols {
        right: 0px;
        float: right;
        display: inline;
        background: #fff;
        padding-left: 5px;
        /*top: 8px;*/ /* Commented by Facu */
        /*position: absolute;*/ /* Commented by Facu */
        /*width: 67px;*/ /* Commented by Facu */
    }

    .leaflet-infobar button.nobackground {
        background: none;
    }





    .leaflet-infobar.left {
        left: -500px;
        transition: left 0.5s, width 0.5s;
        padding-right: 0;
    }

    .leaflet-infobar.right {
        right: -500px;
        transition: right 0.5s, width 0.5s;
        padding-left: 0;
    }

    .leaflet-infobar.left.visible {
        left: 0;
    }

    .leaflet-infobar.right.visible {
        right: 0;
    }

.leaflet-left {
    transition: left 0.5s;
}

.leaflet-right {
    transition: right 0.5s;
}

.leaflet-infobar > .leaflet-control {
    width: 100%;
    height: 100%; /* Added by Facu */
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 2px 8px;
    font-size: 1.1em;
    background: white;
    box-shadow: 0 1px 7px rgba(0,0,0,0.65);
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.leaflet-touch .leaflet-infobar > .leaflet-control {
    box-shadow: none;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
}

.leaflet-infobar > .leaflet-control.contracted {
    height: 40px;
    overflow-y: hidden;
}


@media(max-width:799px) {
    .leaflet-infobar {
        width: 280px;
    }

        .leaflet-infobar.left.visible ~ .leaflet-left {
            left: 280px;
        }

        .leaflet-infobar.right.visible ~ .leaflet-right {
            right: 280px;
        }
}

@media(min-width:800px) {
    .leaflet-infobar {
        width: 360px;
    }

        .leaflet-infobar.left.visible ~ .leaflet-left {
            left: 360px;
        }

        .leaflet-infobar.right.visible ~ .leaflet-right {
            right: 360px;
        }
}

.leaflet-infobar .shapeinfo-container {
    /*height: auto;*/
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    /*TO DO: ver esto*/
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
}

    .leaflet-infobar .shapeinfo-container.nodisplay {
        display: none;
    }



.leaflet-infobar .close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 31px;
    height: 31px;
    color: #333;
    font-size: 25pt;
    line-height: 1em;
    text-align: center;
    background: white;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    cursor: pointer;
    z-index: 8;
}

.leaflet-infobar .infoline {
    width: 100%;
    margin-top: 10px;
    clear: both;
}


    .leaflet-infobar .infoline.firstline {
        margin-top: 5px;
    }
/*TO DO: ver esto*/
.leaflet-infobar .box-title.withbottomline {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.leaflet-infobar .infoline.withupperline {
    border-top: 1px solid #ddd;
    padding-top: 5px;
}

    .leaflet-infobar .infoline.withupperline .error-title {
        margin-left: 5px;
    }



.leaflet-infobar .infoline.withline {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.addMapLayer {
    /* width: 450px; */
}

    .addMapLayer .addMapLayerView span {
        display: block;
    }

    .addMapLayer input {
        width: 405px;
    }

    .addMapLayer select {
        margin-bottom: 10px;
        width: 420px;
    }

    .addMapLayer .filelist {
        margin-bottom: 10px;
    }



.leaflet-infobar .alert {
    margin-bottom: 5px;
    display: inline-block;
}

.leaflet-infobar ul li {
    display: inherit;
}

.leaflet-infobar ul {
    margin-left: 15px;
}

.leaflet-infobar .corridorList .subcorridorItemContainer {
    min-height: 5px;
    margin-top: 5px;
}

.leaflet-infobar .corridorList .subcorridorplaceholder {
    height: 15px;
    background: #fff;
    border: dashed 1px #6b6b6b;
}


.leaflet-infobar .corridorList .corridor-title {
    font-size: 12px;
    margin-left: 5px;
    color: #141414;
    font-weight: bold;
}


.leaflet-infobar .corridorList .corridor-wrapper {
    height: 24px;
}

.leaflet-infobar .corridorList .subcorridor-wrapper {
    height: 26px;
}

    .leaflet-infobar .corridorList .subcorridor-wrapper a.subcorridor {
        display: inline-block;
        max-width: 222px;
        height: 22px;
        overflow: hidden;
    }

    .leaflet-infobar .corridorList .subcorridor-wrapper i.expandor {
        position: relative;
        top: -4px;
    }


.leaflet-infobar .corridorList .editor {
    position: relative;
    left: 6px;
    font-size: 11px;
    margin-top: -2px;
    margin-bottom: 0px;
}

.leaflet-infobar .corridorList input {
    font-size: 11px;
    width: 240px;
    height: 16px;
}

.leaflet-infobar .corridorList .editor button {
    border: 1px solid #ccc;
    padding: 2px 7px;
    margin-left: -4px;
}



.leaflet-infobar .corridorList ul li input {
    width: 225px;
}


/*    
.leaflet-infobar .corridorList li i.sorter{
    float: right;
    top: 4px;
    position: relative;
    right: 4px;
    font-size: 14px;
    color: #A7A7A7;
    cursor:ns-resize;
    margin-left: 8px;
}    
*/

/* search bar*/

.leaflet-searchbar {
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 3px 8px;
    z-index: 950;
    left: 589px;
    /*top:2px;*/
}

    .leaflet-searchbar input, .leaflet-searchbar .input-append {
        /*margin-bottom: 0px;*/
        margin-left: 4px;
    }

#projectMap.editing .leaflet-searchbar {
    left: 502px;
}


/*@media(max-width:799px){
    .leaflet-searchbar {
        left: 240px;
    }
}*/

.leaflet-searchbar > .leaflet-control {
    /*overflow: auto;*/ /*facu*/
    -webkit-overflow-scrolling: touch;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0px;
    font-size: 1.1em;
    box-shadow: 0 1px 7px rgba(0,0,0,0.65);
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: #EFEFEF;
}


/* buttonbar */

.leaflet-buttonbar {
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    z-index: 950;
    left: 391px;
    top: 33px;
}




    /*@media(max-width:799px){
    .leaflet-buttonbar {
        left: 235px;
    }
}*/

    .leaflet-buttonbar > .leaflet-control {
        overflow: auto;
        padding: 0px;
        font-size: 1.1em;
    }

        .leaflet-buttonbar > .leaflet-control .btn-group {
            background-color: #ffffff;
            box-shadow: 0 1px 7px rgba(0,0,0,0.65);
            -webkit-border-radius: 4px;
            border-radius: 4px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            margin: 0 6px 6px 0; /* FACU */
        }


    .leaflet-buttonbar .btn {
        color: #333;
        background: none;
        border-left: 1px solid #dadada;
        width: 34px;
        height: 34px;
    }


        .leaflet-buttonbar .btn.selected {
            background: #ddd;
        }

        .leaflet-buttonbar .btn i {
            font-size: 16px;
            margin-left: -9px;
        }

        .leaflet-buttonbar .btn img {
            margin-left: -4px;
            width: 21px;
        }



        .leaflet-buttonbar .btn:first-child {
            border: none;
        }
    /* Comentado FACU*/
    /*
    .leaflet-buttonbar .btn:first-child i{
        font-size: 22px;
        min-width: 20px;
        margin-left: -4px;
    }
    */

    .leaflet-buttonbar .btn-line {
        display: block;
        margin-bottom: 10px;
        padding-left: 5px;
        padding-right: 5px;
    }

.leaflet-measure-tooltip {
    font: 9px/1.25 "Helvetica Neue", Arial, Helvetica, sans-serif;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 5px #BBB;
    margin: 0;
    padding: 2px;
    width: auto !important;
    height: auto !important;
    white-space: nowrap;
}

.leaflet-measure-tooltip-total {
    font-weight: bold;
}


/* object counter control */

.leaflet-object-counter {
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    z-index: 950;
    right: 0px;
    bottom: 0px;
}

    .leaflet-object-counter > .leaflet-control {
        width: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 2px 8px;
        font-size: 1.1em;
        background: white;
        box-shadow: 0 1px 7px rgba(0,0,0,0.65);
        -webkit-border-radius: 4px;
        border-radius: 4px;
    }

    .leaflet-object-counter ul {
        margin: 0 0 5px 5px;
        max-width: 181px;
    }

    .leaflet-object-counter li {
        display: none;
        width: 45px;
        float: left;
        line-height: 25px;
        cursor: pointer;
    }

        .leaflet-object-counter li span {
            font-size: 11px;
        }


    .leaflet-object-counter i {
        font-size: 16px;
    }

    .leaflet-object-counter img {
        margin-left: 0px;
        width: 21px;
    }

/* input box */
.leaflet-container .leaflet-draw-tooltip .editor input {
    margin-bottom: 0px;
    width: 85px;
    color: #3d3d3d;
    height: 100%;
    font-size: 12px;
}


/* toolbar */

.leaflet-toolbar {
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 950;
    left: 422px;
    /*left: 524px;*/
}

#projectMap.editing .leaflet-toolbar {
    left: 405px;
}



/*@media(max-width:799px){
    .leaflet-toolbar {
        left: 235px;
    }
}*/


.leaflet-toolbar > .leaflet-control {
    overflow: auto;
    padding: 0px;
    font-size: 1.1em;
}

    .leaflet-toolbar > .leaflet-control .btn-group {
        background-color: #ffffff;
        box-shadow: 0 1px 7px rgba(0,0,0,0.65);
        -webkit-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin: 5px 3px 6px 9px;
    }


.leaflet-toolbar .btn {
    color: #333;
    background: none;
    border-left: 1px solid #dadada;
    width: 34px;
    height: 34px;
}


    .leaflet-toolbar .btn.selected {
        background: #ddd;
    }

    .leaflet-toolbar .btn i {
        font-size: 16px;
        margin-left: -8px;
    }

    .leaflet-toolbar .btn img {
        margin-left: -4px;
        width: 21px;
    }



    .leaflet-toolbar .btn:first-child {
        border: none;
    }

        .leaflet-toolbar .btn:first-child i {
            font-size: 22px;
            min-width: 20px;
            margin-left: -8px;
        }


#projectMap .infoPopup {
    max-height: 365px;
    overflow-y: auto;
    overflow-x: hidden;
}

a.leaflet-control-export, a.leaflet-control-export:hover {
    width: 35px;
}

    a.leaflet-control-export i {
        margin-left: -2px;
    }

.result-link {
    padding-top: 10px;
}

.addMapLayer .tabs {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.addMapLayer .dataTables_wrapper .dataTables_filter {
    margin: -13px 0px 0px 5px;
}

#addMapLayer_FromLibrary table tr {
    cursor: pointer;
}


    #addMapLayer_FromLibrary table tr.selected {
        background-color: #368ee0;
        color: #ffffff;
    }

#addMapLayer_FromLibrary .dataTables_scrollHeadInner {
    display: none;
}

.leaflet-sidebar .shapeinfo-container .input-append {
    margin-bottom: 0px;
}

.leaflet-sidebar .searcher {
    margin-left: 78px;
    margin-top: 10px;
}


.leaflet-sidebar .project-post-actions ul.minitiles li {
    margin-right: 8px;
}

.leaflet-sidebar .project-shapeinfo-container .title {
}

    .leaflet-sidebar .project-shapeinfo-container .title h5 {
        margin-bottom: 3px;
    }

.leaflet-sidebar .project-shapeinfo-container .link {
    margin-left: 15px;
    margin-bottom: 10px;
}

    .leaflet-sidebar .project-shapeinfo-container .link .project-list {
        list-style-type: none;
        margin-bottom: 2px;
    }

    .leaflet-sidebar .project-shapeinfo-container .link .create-project {
        text-decoration: none;
        border-bottom: dashed 1px #0088cc;
        margin-left: 26px;
        display: table;
    }



.leaflet-infobar .corridorList button.bar {
    float: right;
    background-color: #fff;
    margin-right: 1px;
    color: #d0d0d0;
}

    .leaflet-infobar .corridorList button.bar:hover {
        color: #222;
    }

.leaflet-infobar .corridorList li i.sorter {
    float: left;
    top: 5px;
    position: relative;
    margin-right: 11px;
    margin-left: -12px;
    font-size: 14px;
    color: #d0d0d0;
    cursor: ns-resize;
}

    .leaflet-infobar .corridorList li i.sorter:hover {
        color: #222;
    }

.leaflet-infobar .shapeinfo-container .btn-group {
    margin: 12px 0 0 5px;
    background-color: #ffffff;
    box-shadow: 0 1px 7px rgba(0,0,0,0.65);
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .leaflet-infobar .shapeinfo-container .btn-group .btn:first-child {
        border: none;
    }

    .leaflet-infobar .shapeinfo-container .btn-group .btn {
        color: #333;
        background: none;
        border-left: 1px solid #dadada;
    }

        .leaflet-infobar .shapeinfo-container .btn-group .btn.selected {
            background-color: rgb(234, 198, 155) !important;
        }

.leaflet-infobar .shapeinfo-container li i.contracted {
    display: none;
    margin-left: 2px;
}

.leaflet-infobar .shapeinfo-container li.contracted i.contracted {
    display: inline;
}

.leaflet-infobar .shapeinfo-container li.contracted i.expanded {
    display: none;
}


.leaflet-infobar .shapeinfo-container table {
    margin-left: 6px;
    width: 285px;
    margin-bottom: 5px;
    margin-top: 6px;
}

.leaflet-infobar .shapeinfo-container li.contracted .table {
    display: none;
}

.leaflet-infobar .shapeinfo-container table td {
    text-align: center;
    cursor: pointer;
}

    .leaflet-infobar .shapeinfo-container table td img {
        width: 21px;
    }

    .leaflet-infobar .shapeinfo-container table td .link {
        width: 90%;
        height: 2px;
        background-color: #ff0000;
        margin: auto;
    }


.leaflet-infobar .shapeinfo-container table img.nodata {
    border-bottom: 2px solid rgb(200, 0, 0);
}

.leaflet-infobar .shapeinfo-container table span.nodata {
    text-decoration: underline;
    color: rgb(121, 0, 0);
}

.leaflet-infobar .corridorList .subcorridorItemContainer li {
    line-height: 25px;
}

    .leaflet-infobar .corridorList .subcorridorItemContainer li.selecting a {
        color: #fff;
        background-color: #0078A8;
        padding-left: 3px;
        padding-right: 3px;
    }

    .leaflet-infobar .corridorList .subcorridorItemContainer li.selecting button.define {
        background-color: #0078A8;
        color: #fff;
    }

.leaflet-infobar .corridorList .subcorridorItemContainer table tr.selected {
    background-color: #f2f2f2;
}

.leaflet-infobar .corridorList .subcorridorItemContainer a.subcorridor.selected {
    background-color: #f2f2f2;
}





.leaflet-label {
    background: rgb(235, 235, 235);
    background: rgba(235, 235, 235, 0.81);
    background-clip: padding-box;
    border-color: #777;
    border-color: rgba(0,0,0,0.25);
    border-radius: 4px;
    border-style: solid;
    border-width: 4px;
    color: #111;
    display: block;
    font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding: 1px 6px;
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 999999 !important;
}

    .leaflet-label.leaflet-clickable {
        cursor: pointer;
        pointer-events: auto;
    }

    .leaflet-label:before,
    .leaflet-label:after {
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        content: none;
        position: absolute;
        top: 5px;
    }

    .leaflet-label:before {
        border-right: 6px solid black;
        border-right-color: inherit;
        left: -10px;
    }

    .leaflet-label:after {
        border-left: 6px solid black;
        border-left-color: inherit;
        right: -10px;
    }

.leaflet-label-right:before,
.leaflet-label-left:after {
    content: "";
}
